<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Border 边框 | MyUI 4.x</title>
    <meta name="generator" content="VuePress 1.5.0">
    <link rel="icon" href="/my/favicon.ico">
    <script>
      var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?c4e5f73318b5cb0c389e3d9a05f831cc";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>
    <meta name="description" content="MyUI是美亚柏科旗下新德汇出品的Web前端一站式项目工程框架，专注于公检法行业中台系统快速搭建，框架已在多个项目实战检验。">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <link rel="preload" href="/my/assets/css/0.styles.3b7da768.css" as="style"><link rel="preload" href="/my/assets/js/app.145deadf.js" as="script"><link rel="preload" href="/my/assets/js/546.c48d7d92.js" as="script"><link rel="preload" href="/my/assets/js/1272.257cfb26.js" as="script"><link rel="preload" href="/my/assets/js/1227.8847d280.js" as="script"><link rel="preload" href="/my/assets/js/1000.09906230.js" as="script"><link rel="preload" href="/my/assets/js/1074.36dd6ba2.js" as="script">
    <link rel="stylesheet" href="/my/assets/css/0.styles.3b7da768.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/my/" class="home-link router-link-active"><img src="/my/img/logo.png" alt="MyUI 4.x" class="logo"> <span class="site-name can-hide">MyUI 4.x</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/my/guide/" class="nav-link">
  指南
</a></div><div class="nav-item"><a href="/my/ui/components/" class="nav-link">
  组件
</a></div><div class="nav-item"><a href="/my/ui/charts/" class="nav-link">
  图表
</a></div><div class="nav-item"><a href="/my/ui/map/" class="nav-link">
  地图
</a></div><div class="nav-item"><a href="/my/ui/go/" class="nav-link">
  关系图
</a></div><div class="nav-item"><a href="/my/ui/icon/" class="nav-link">
  图标
</a></div><div class="nav-item"><a href="/my/ui/pages/" class="nav-link">
  页面
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="JSDoc" class="dropdown-title"><span class="title">JSDoc</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/my/api/components.html" class="nav-link">
  基础组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/utils.html" class="nav-link">
  工具函数
</a></li><li class="dropdown-item"><!----> <a href="/my/api/charts.html" class="nav-link">
  图表组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/map.html" class="nav-link">
  地图组件
</a></li></ul></div></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/my/guide/" class="nav-link">
  指南
</a></div><div class="nav-item"><a href="/my/ui/components/" class="nav-link">
  组件
</a></div><div class="nav-item"><a href="/my/ui/charts/" class="nav-link">
  图表
</a></div><div class="nav-item"><a href="/my/ui/map/" class="nav-link">
  地图
</a></div><div class="nav-item"><a href="/my/ui/go/" class="nav-link">
  关系图
</a></div><div class="nav-item"><a href="/my/ui/icon/" class="nav-link">
  图标
</a></div><div class="nav-item"><a href="/my/ui/pages/" class="nav-link">
  页面
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="JSDoc" class="dropdown-title"><span class="title">JSDoc</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/my/api/components.html" class="nav-link">
  基础组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/utils.html" class="nav-link">
  工具函数
</a></li><li class="dropdown-item"><!----> <a href="/my/api/charts.html" class="nav-link">
  图表组件
</a></li><li class="dropdown-item"><!----> <a href="/my/api/map.html" class="nav-link">
  地图组件
</a></li></ul></div></div> <!----></nav>  <ul class="sidebar-links"><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>Basic</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/my/element/border.html" aria-current="page" class="active sidebar-link">Border 边框</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/my/element/border.html#边框" class="sidebar-link">边框</a></li><li class="sidebar-sub-header"><a href="/my/element/border.html#圆角" class="sidebar-link">圆角</a></li><li class="sidebar-sub-header"><a href="/my/element/border.html#投影" class="sidebar-link">投影</a></li></ul></li><li><a href="/my/element/button.html" class="sidebar-link">Button 按钮</a></li><li><a href="/my/element/color.html" class="sidebar-link">Color 色彩</a></li><li><a href="/my/element/container.html" class="sidebar-link">Container 布局容器</a></li><li><a href="/my/element/icon.html" class="sidebar-link">Icon 图标</a></li><li><a href="/my/element/layout.html" class="sidebar-link">Layout 布局</a></li><li><a href="/my/element/link.html" class="sidebar-link">Link 文字链接</a></li><li><a href="/my/element/typography.html" class="sidebar-link">Typography 字体</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Form</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Data</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Notice</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Navigation</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Others</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="border-边框"><a href="#border-边框" class="header-anchor">#</a> Border 边框</h1> <p>我们对边框进行统一规范，可用于按钮、卡片、弹窗等组件里。</p> <h2 id="边框"><a href="#边框" class="header-anchor">#</a> 边框</h2> <p>我们提供了以下几种边框样式，以供选择。</p> <table class="demo-border" data-v-626d85c1><tbody data-v-626d85c1><tr data-v-626d85c1><td class="text" data-v-626d85c1>名称</td> <td class="text" data-v-626d85c1>粗细</td> <td class="line" data-v-626d85c1>举例</td></tr> <tr data-v-626d85c1><td class="text" data-v-626d85c1>实线</td> <td class="text" data-v-626d85c1>1px</td> <td class="line" data-v-626d85c1><div data-v-626d85c1></div></td></tr> <tr data-v-626d85c1><td class="text" data-v-626d85c1>虚线</td> <td class="text" data-v-626d85c1>2px</td> <td class="line" data-v-626d85c1><div class="dashed" data-v-626d85c1></div></td></tr></tbody></table> <h2 id="圆角"><a href="#圆角" class="header-anchor">#</a> 圆角</h2> <p>我们提供了以下几种圆角样式，以供选择。
<div class="demo-radius el-row" style="margin-left:-6px;margin-right:-6px;" data-v-1e02a290><div class="el-col el-col-6 el-col-xs-12" style="padding-left:6px;padding-right:6px;" data-v-1e02a290><div class="title" data-v-1e02a290>无圆角</div> <div class="value" data-v-1e02a290>border-radius: 0px</div> <div class="radius" data-v-1e02a290></div></div> <div class="el-col el-col-6 el-col-xs-12" style="padding-left:6px;padding-right:6px;" data-v-1e02a290><div class="title" data-v-1e02a290>小圆角</div> <div class="value" data-v-1e02a290>border-radius: 2px</div> <div class="radius" style="border-radius:2px;" data-v-1e02a290></div></div> <div class="el-col el-col-6 el-col-xs-12" style="padding-left:6px;padding-right:6px;" data-v-1e02a290><div class="title" data-v-1e02a290>大圆角</div> <div class="value" data-v-1e02a290>border-radius: 4px</div> <div class="radius" style="border-radius:4px;" data-v-1e02a290></div></div> <div class="el-col el-col-6 el-col-xs-12" style="padding-left:6px;padding-right:6px;" data-v-1e02a290><div class="title" data-v-1e02a290>圆形圆角</div> <div class="value" data-v-1e02a290>border-radius: 30px</div> <div class="radius radius-30" data-v-1e02a290></div></div></div></p> <h2 id="投影"><a href="#投影" class="header-anchor">#</a> 投影</h2> <p>我们提供了以下几种投影样式，以供选择。
<div data-v-68269c2e><div class="demo-shadow" style="box-shadow:0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);" data-v-68269c2e></div> <span class="demo-shadow-text" data-v-68269c2e>基础投影 box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04)</span> <div class="demo-shadow" style="box-shadow:0 2px 12px 0 rgba(0, 0, 0, 0.1);" data-v-68269c2e></div> <span class="demo-shadow-text" data-v-68269c2e>浅色投影 box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)</span></div></p></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/my/element/button.html">
        Button 按钮
      </a>
      →
    </span></p></div> </main></div><div class="global-ui"></div></div>
    <script src="/my/assets/js/app.145deadf.js" defer></script><script src="/my/assets/js/546.c48d7d92.js" defer></script><script src="/my/assets/js/1272.257cfb26.js" defer></script><script src="/my/assets/js/1227.8847d280.js" defer></script><script src="/my/assets/js/1000.09906230.js" defer></script><script src="/my/assets/js/1074.36dd6ba2.js" defer></script>
  </body>
</html>
